<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <img src="../../img/pic_bulboff.gif" alt="图片正在加载中。。。" onclick="changeImg(this)">
</body>
    <script>
        function changeImg(thisobj){
            if (thisobj.src.search("bulboff")!=-1){
                thisobj.src = "../../img/pic_bulbon.gif"
            }
            else {
                thisobj.src = "../../img/pic_bulboff.gif"
            }
        }
    </script>
</html>